cmake_minimum_required(VERSION 3.20)

project(FreeRTOS_Win VERSION 0.1 LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)


set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)


file(GLOB SourceFiles ${SourceFileTypes})
add_executable(${PROJECT_NAME}
        ${SourceFiles}
        )

INSTALL(TARGETS ${PROJECT_NAME}
        RUNTIME DESTINATION bin
        ARCHIVE DESTINATION lib
        )

target_link_libraries(${PROJECT_NAME}
        PRIVATE
        FreeRTOS
)
